package com.zglc.ms.shop.model;

import java.util.Date;

public class UserAddress {
	
	private int id;
	
	private int userId;
	
	//prov, city, area
	
	private int provId;
	
	private int cityId;
	
	private int areaId;
	
	private String detail;
	
	private String phone;
	
	private String contact;
	
	private String remark;
	
	private String pca;
	
	private Date createdAt;
	
	private Date updatedAt;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getProvId() {
		return provId;
	}

	public void setProvId(int provId) {
		this.provId = provId;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}
	
	public String getPca() {
		return pca;
	}

	public void setPca(String pca) {
		this.pca = pca;
	}

	@Override
	public String toString() {
		return "UserAddress [id=" + id + ", userId=" + userId + ", provId=" + provId + ", cityId=" + cityId
				+ ", areaId=" + areaId + ", detail=" + detail + ", phone=" + phone + ", contact=" + contact
				+ ", remark=" + remark + ", pca=" + pca + ", createdAt=" + createdAt + ", updatedAt=" + updatedAt + "]";
	}

}